using Rapier.Kodachi.Shared;
using System.Drawing;

namespace Rapier.Kodachi.iTunes.Actions
{
    class TrackInfo : iTunesActionBase
    {
        //TaskbarNotifier taskbarNotifier;

        #region Constructor
        public TrackInfo(Plugin plugin)
            : base(plugin, "Rapier.Kodachi.iTunes.TrackInfo", "Track Information", "Display current track information.")
        {
            GetImage = delegate() { return trackInfoImage; };
        }
        #endregion

        #region Action Members
        public override void Execute(Item[] directItems, Item[] indirectItems)
        {
            if (IsItunesRunning())
            {
                DisplayCurrentTrackInfo(itunes.CurrentTrack);
            }
        }
        #endregion
    }
}
